//2009/08/18 22:48:06
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <math.h>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class Truckloads
{
public:
    int numTrucks(int numCrates, int loadSize)
    {
        cout << "num: " << numCrates << endl;
        if (numCrates <= loadSize) return 1;
        else
        {
			int a = (int)ceil((numCrates/2));
            return numTrucks(a, loadSize) + numTrucks(numCrates - a, loadSize);
        }
    }
};
